package com.dearcocoa.payload;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 *
 * </p>
 *
 * @Package: com.dearcocoa.payload
 * @ClassName: loginRequest
 * @Author: shengong
 * @Date: Created in 2020-08-08 21:18
 * @Version: V1.0
 * @Description: TODO
 */
@Data
public class LoginRequest {
    @NotBlank(message = "用户名不能为空")
    private String userNameOrPhoneOrEmail;

    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 记住我
     */
    private boolean rememberMe = false;
}
